package com.zpy.SmartChargeStation.mqtt.client;

import com.zpy.SmartChargeStation.iotdb.config.IotDBSessionConf;
import com.zpy.SmartChargeStation.mqtt.client.conf.MqttProps;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;

/**
 * description: Mqtt Client 启动类
 */
@SpringBootApplication
@EnableConfigurationProperties({MqttProps.class})
@ComponentScan(basePackages = {"com.zpy.SmartChargeStation"})
@Import({IotDBSessionConf.class})
public class MqttApplication {
    public static void main(String[] args) {
        SpringApplication.run(MqttApplication.class, args);

    }
}
